import cn.hutool.core.date.DateTime;
import cn.hutool.core.date.DateUtil;

/**
 * @Title: test
 * @Author 笑霸fianl
 * @Package PACKAGE_NAME
 * @Date 2023/3/12 15:37
 * @描述:
 */
public class test {
    public static void main(String[] args) {
        DateTime yesterday = DateUtil.yesterday();
        System.out.println(yesterday.toDateStr());
    }
}
